
from django.conf.urls.defaults import patterns, include, url
import socketio.sdjango

socketio.sdjango.autodiscover()

urlpatterns = patterns("game.views",
    url("^socket\.io", include(socketio.sdjango.urls)),
    url("^$", "games", name="games"),
    url("^create/$", "create", name="create"),
    #url("^(?P<slug>.*)$", "game", name="game"),
    url(r'^game/(?P<id_game>\d+)/$', 'game', name='game'),


    url("^prueba/$", "prueba", name="prueba"),
    url("^prueba2/$", "prueba2", name="prueba2"),
)

